/* #include "add.h" */
#include <iostream>

using std::cout;
using std::endl;

/* int add(int x, int y) */
/* { */
/*     return x + y; */
/* } */

//函数模板的实现
template <typename T>
T add(T x, T y)
{
    cout << "T add(T, T)" << endl;
    return x + y;
}
